package com.example.booklist.service;

import com.example.booklist.mapper.UserInfoMapper;
import com.example.booklist.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName: UserService
 * Package: IntelliJ IDEA
 * Description:
 *
 * @Author 谷京京
 * @Create 2023/11/19 22:16
 * @Version 1.0
 */
@Service
public class UserService {
    @Autowired
    private UserInfoMapper userInfoMapper;
    public UserInfo getUserInfoByName(String name) {
        return userInfoMapper.selectUserByName(name);
    }
}
